import { http } from '../utils/http';
import type { PageParams } from '../types/global';
import type { HotResult } from '@/types/hot';
//轮播图
export const getHotRecommendAPI = (url: string, data?: PageParams & { subType?: string }) => {
  return http<HotResult>({
    method: 'GET',
    url,
    data,
  });
};
